import request from '@/util/request.js'

export function getCodeImg() {
	return request({
		url: '/code',
		method: 'get',
	})
}
// 登录方法
export function login(loginForm) {
	return request({
		url: '/auth/login',
		method: 'post',
		data: {
			username: loginForm.username,
			password: loginForm.password,
			code: loginForm.code,
			uuid: loginForm.uuid
		}
	})
}
